package com.iris.live.services.services;

import com.iris.live.services.data.models.用户Model;
import com.iris.live.services.data.models.销售顾问分组Model;
import com.iris.live.services.models.RequestBase;
import com.iris.live.services.models.ResultData;

import java.io.InputStream;
import java.util.List;

public interface SalesSetService {

	List getFunctionList(String permit);

	List getBrand();

	ResultData saveSaleConsultant(用户Model model);

	boolean updSaleConsultant(UpdSaleConsultantRequest request);

	boolean saveSaleConsultantGroup(销售顾问分组Model model);

	boolean updSaleConsultantGruop(UpdSaleConsultantGruopRequest request);

	boolean delSaleConsultant(SalesSetService.DelSaleConsultantRequest request);

	boolean delSaleConsultantGruop(SalesSetService.DelSaleConsultantGruopRequest request);

	String saveSaleCOnsultantHeadPhoto(InputStream inputStream, String originalFilename, String permit, String userName);

	boolean delSaleCOnsultantHeadPhoto(SalesSetService.DelSaleCOnsultantHeadPhotoRequest request);

	ResultData resetSalePwd(String saleUser);

	static class UpdSaleConsultantRequest extends RequestBase{
		public String 人员姓名;
		public String 人员电话;
		public String 接待;
		public String 品牌;
		public String 职位;
		public String 用户名;
        public String superior;
		public  String 销售顾问职位状态;
    }

	static class UpdSaleConsultantGruopRequest extends RequestBase{
		public String 组名;
		public String 销售顾问;
	}

	static class DelSaleConsultantRequest extends RequestBase{
		public String 用户名;
	}

	static class DelSaleConsultantGruopRequest extends RequestBase{
		public String 销售顾问;
	}

	static class DelSaleCOnsultantHeadPhotoRequest extends RequestBase{
		public String 销售顾问用户名;
	}

	ResultData getSaletype();

	
}
